package com.example.springcloud.alibaba.client;

import com.example.springcloud.entities.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value="storage-service")
public interface StorageClient {
    @GetMapping(value = "/storage/change")
    CommonResult changeStorage(@RequestParam("productId")long productId, @RequestParam("used")long used);
}
